Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Converting Dimensions of Points and Vectors


Q3Point2D_To3D

You can use the Q3Point2D_To3D function to convert a two-dimensional point to a three-dimensional point.

TQ3Point3D *Q3Point2D_To3D (
const TQ3Point2D *point2D, 
TQ3Point3D *result);
point2D
A two-dimensional point.
result
On exit, a three-dimensional point.
DESCRIPTION
The Q3Point2D_To3D function returns, as its function result and in the result parameter, the three-dimensional point that corresponds to the two-dimensional point point2D.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996